package com.car.serve.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.car.serve.Param.addServeProjectParam;
import com.car.serve.Param.upServeProjectParam;
import com.car.serve.entity.ServeProject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.car.serve.exception.ServeException;
import com.car.serve.form.PageServeProjectForm;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
public interface ServeProjectService extends IService<ServeProject> {

    void addServeProject(addServeProjectParam param)throws ServeException;
    void upServeProject(upServeProjectParam param)throws Exception;

    void delServeProject(Integer projectId)throws Exception;

    void disableServeProject(Integer projectId)throws Exception;

    void enableServeProject(Integer projectId)throws Exception;

    Page<ServeProject> findPageServeProject(PageServeProjectForm form);
}
